<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/6/10
  Time: 15:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ModelShow</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
<br/>
<div class="container-fluid">
    <p style="font-size: 20px;font-weight: bold; text-align: center">优化后模型预览</p>
    <br/>
    <table align="center">
        <tr>
            <th> Rule <br/><br/></th>
            <th> W <br/><br/></th>
            <th> A1 <br/><br/></th>
            <th> A2 <br/><br/></th>
            <th> A3 <br/><br/></th>
            <th> A4 <br/><br/></th>
            <th> A5 <br/><br/></th>
            <th> A6 <br/><br/></th>
            <th> A7 <br/><br/></th>
            <th> A8 <br/><br/></th>
            <th> A9 <br/><br/></th>
            <th> A10 <br/><br/></th>
            <th> A11 <br/><br/></th>
            <th> A12 <br/><br/></th>
            <th> A13 <br/><br/></th>
            <th> A14 <br/><br/></th>
            <th> A15 <br/><br/></th>
            <th> A16 <br/><br/></th>
            <th> L <br/><br/></th>
            <th> LM <br/><br/></th>
            <th> M <br/><br/></th>
            <th> MH <br/><br/></th>
            <th> H <br/><br/></th>
        </tr>
        <c:forEach items="${sessionScope.modelList2}" var="item">
            <tr>
                <c:forEach items="${item}" var="value">
                    <td>
                        &nbsp;&nbsp;${value}&nbsp;&nbsp;
                        <br/>
                        <br/>
                    </td>
                </c:forEach>
            </tr>
        </c:forEach>

    </table>

    <br/>

    <p class="greenF" align="center" style="font-size: 20px;font-weight: bold">
        模型已建立并优化完成<br/>
    </p>
    <br/>
    <br/>
    <div class="btn-group BF" role="group" aria-label="..." style="margin-left: 47%">
        <a type="button" class="btn btn-primary" href="Model_optimal_result.jsp"> 模型推理结果 </a>
    </div>
    <br/>
    <br/>
    <br/>
    <div class="btn-group BF" role="group" aria-label="..." style="margin-left: 48%">
        <a type="button" class="btn btn-primary" href="Step2.jsp"> 返回步骤2 </a>
    </div>
    <br/>
    <br/>

    <%
        session.setAttribute("ModelUpload", "finished");
    %>
</div>
</body>
<style>
    .greenF {
        font-size: 20px;
        color: chartreuse;
    }

    td {
        text-align: center;
    }

    th {
        text-align: center;
    }

</style>

</html>
